package cn.sumpu.app.guoguojie.biz;


import cn.sumpu.app.guoguojie.domain.Member;
import cn.sumpu.app.guoguojie.domain.Message;
import cn.sumpu.app.guoguojie.domain.Ext.PageModel;
import cn.sumpu.app.guoguojie.exception.AppBusinessException;

public interface MessageBiz {
	public PageModel getMessageFriend(String reciveFamily,Integer page)throws AppBusinessException;
	
	public PageModel getMessageInner(String member,String reciveFamily,Integer page)throws AppBusinessException;
	
	public int getMessageNoReadCount(String family)throws AppBusinessException;
	
	public Message insertMessage(Member member,Message message)throws AppBusinessException;
	
	public void deleteMessageById(String id)throws AppBusinessException;
	
	public int messageFriendNoReadCount(String receiveFamily)throws AppBusinessException;
	
	public int messageInnerNoReadCount(String receiveFamily)throws AppBusinessException;
	
	public int messageAllNoReadCount(String receiveFamily)throws AppBusinessException;
	
	public void readMessageFriend(String receiveFamily)throws AppBusinessException;
	
	public void readMessageInner(String receiveFamily)throws AppBusinessException;
	
	public void readMessageAll(String receiveFamily)throws AppBusinessException;
	
	public void replyMessage(Member member,String receiveFamily,String content,String replyId)throws AppBusinessException;
	
}
